<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>
<%@ include file="/v1/pages/public/head.jsp"%>
<script src="${ctx}/v1/js/default/jquery.cookie.js" type="text/javascript"></script>

<style>
.color_white{ color:#fff;}
table{ border:#ddd solid 1px; text-align:center;}
.ranking{margin:0px;background:#ed5d3a; padding:50px 20px;}
.padding_lr{ padding:0 10px 10px; color:#fff; line-height:24px;}
.block{ margin:0px auto 50px; }
.block_content{ margin:10px; background:#fff; border-radius:5px; overflow:hidden}
.store_logo{ width:40px;height:40px; margin:0 10px; text-align:center; overflow:hidden; border-radius:20px; display:inline-block}
.block_content td{ padding:5px 0px;}
.block_content tr td:last-child{ padding-right:10px;}
.block_tilte{ padding:0 10px;color:#fff;}
.block_tilte h2{ font-size:22px; font-weight:bold; color:#fff; text-align:center;}
.block_content{ color:#333;}
.block_content th{color:#666; background:#f6f6f6; padding:10px; white-space:nowrap }
</style>

<body>

<div class="index-box clearfix ldh-bg-01">
	<div class="ldh-block ">
    	<div class="ldh-container">
        	<div class="ldh-indexTop">
            	<div class="ldh-indexLogo"><a href="index.jsp"></a></div>
                <div class="ldh-indexAddress">
                	<div class="ldh-indAddress" onClick="$ldh_base.myLocation()"><span class="ldh-nowAddress" id="address">设置你的地址</span><span class="ldh-changeAddress">【更改位置】</span></div>
                    <div class="ldh-addressHistory">
                    	<ul id="historyList">                        
                        </ul>
                        <p onclick="$ldh_base.clearHisCookie()">清空历史记录</p>
                    </div>
                </div>
                <div class="ldh-indexSearch" id="div_search">
                       <!--  <div class="selectbox">
                              <span class="selected" onclick="">商品</span>
                              <ul>
                                  <li><a href="#">商品</a></li>
                                  <li><a href="#">店铺</a></li>
                              </ul>
                        </div>
                        <form>

                            <input class="ts_txt" type="text" placeholder="搜索地点附近的商品" />

                            <input class="ts_btn" type="button" value="搜 索" />
                        </form> -->
                </div>
            </div>
            
            <div class="ldh-advertisement">
            	<p><img src="${ctx}/v1/img/advertisement.png"/></p>
                <div class="ldh-advertisement-cont">
                	<c:choose>
                		<c:when test="${empty param.tag}">
                			<div class="ldh-advertisement-pic"><img src="${ctx}/v1/img/advertisement2.png"/></div>
                    <div class="ldh-advertisement-info">
                    	<p>1．在云便利商店网站、App下单且交易成功的用户，均可参与；</p>
                        <p>2．每月5号为抽奖日，具体抽奖地点及符合资格的名单将于1-4号公布在云便利商店及微信公众号；</p>
                        <p>3．抽奖方式为现场抽出获奖者，奖品现场送出，获奖名单将在云便利商店、微信公众号、短信公布；</p>
                        <p>4 . 奖品如下：<br/>
						                        一等奖1名，100元充值卡<br/>
						                        二等奖8名，50元充值卡<br/>
						                        三等奖20名，30元充值卡<br/>
						                        优惠奖若干名，由丽江花园周边商户提供折扣优惠<br/>
                        	   *活动解释权归广州欧凌建材有限公司。
                        </p>
                    </div>
                		</c:when>
                		<c:otherwise>
                		<div class="ranking">
                        <div class="block">
                            <div class="block_tilte center"><h2>有效用户排行榜</h2><p class="text-right"><p class="text-right">截至1月22日24点</p></div>
                            <div class="block_content">
                                <table>
                                <colgroup>
                                    <col width="3%">
                                    <col width="5%">
                                    <col width="60%">
                                </colgroup>
                                <thead>
                                    <tr>
                                        <th>排序</th>
                                        <th class="text-left">商家</th>
                                        <th class="text-right" colspan="2">用户数</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    
                                    <tr>
                                        <td class="center">1</td>
                                        <td><p class="store_logo"><img src="http://www.storeme.cn/file/f/200/shop/logo/14219122730421515748.jpg"></p></td>   
                                        <td class="text-left"><a href="javascript:$ldh_base.jumpToShopIndex('201501221539360151')">花漾HyouNg</a></td>
                                        <td class="text-right main_color">44</td>
                                    </tr>
                                    
                                    <tr>
                                        <td class="center">2</td>
                                        <td><p class="store_logo"><img src="http://www.storeme.cn/file/f/200/shop/logo/14194709496664380736.jpg"></p></td>   
                                        <td class="text-left"><a href="javascript:$ldh_base.jumpToShopIndex('121511006')">小鲜驿站</a></td>
                                        <td class="text-right main_color">14</td>
                                    </tr>
                                    
                                  <tr>
                                        <td class="center">3</td>
                                        <td><p class="store_logo"><img src="http://www.storeme.cn/file/f/200/shop/logo/14199206114172806178.png"></p></td>   
                                        <td class="text-left"><a href="javascript:$ldh_base.jumpToShopIndex('123013001')">叁拾加水果专家</a></td>
                                        <td class="text-right main_color">11</td>
                                    </tr>
                                    
                                  
                                      <tr>
                                        <td class="center">4</td>
                                        <td><p class="store_logo"><img src="http://www.storeme.cn/file/f/200/shop/logo/14199059856494376783.jpg"></p></td>   
                                        <td class="text-left"><a href="javascript:$ldh_base.jumpToShopIndex('201412301023070134')">大塘烧鹅南浦店</a></td>
                                        <td class="text-right main_color">5</td>
                                    </tr>
                                     <tr>
                                        <td class="center">5</td>
                                        <td><p class="store_logo"><img src="http://www.storeme.cn/file/f/200/shop/logo/14187152297356607322.jpg"></p></td>   
                                        <td class="text-left"><a href="javascript:$ldh_base.jumpToShopIndex('121511001')">光头佬连锁机构</a></td>
                                        <td class="text-right">4</td>
                                    </tr>
                                  <tr>
                                        <td class="center">6</td>
                                        <td><p class="store_logo"><img src="http://www.storeme.cn/file/f/200/shop/logo/14203444032672361865.png"></p></td>   
                                        <td class="text-left"><a href="javascript:$ldh_base.jumpToShopIndex('201501041207500141')">正宗东北手工饺子馆</a></td>
                                        <td class="text-right">3</td>
                                    </tr>
                                    
                                 </tbody>    
                                </table>
                            </div>
                        </div>
                        <div class="block">
                            <div class="block_tilte center"><h2>交易成功排行榜</h2><p class="text-right">截至1月22日24点</p></div>
                            <div class="block_content">
                                <table>
                                <colgroup>
                                    <col width="3%">
                                    <col width="5%">
                                    <col width="60%">
                                </colgroup>
                                <thead>
                                    <tr>
                                        <th>排序</th>
                                        <th class="text-left">商家</th>
                                        <th class="text-right" colspan="2">订单数</th>
                                    </tr>
                                </thead>
                                <tbody>
                                  
                                  <tr>
                                        <td class="center">1</td>
                                        <td><p class="store_logo"><img src="http://www.storeme.cn/file/f/200/shop/logo/14219122730421515748.jpg"></p></td>   
                                        <td class="text-left"><a href="javascript:$ldh_base.jumpToShopIndex('201501221539360151')">花漾HyouNg</a></td>
                                        <td class="text-right main_color">755</td>
                                    </tr>
                                  
                                  <tr>
                                        <td class="center">2</td>
                                        <td><p class="store_logo"><img src="http://www.storeme.cn/file/f/200/shop/logo/14199206114172806178.png"></p></td>   
                                        <td class="text-left"><a href="javascript:$ldh_base.jumpToShopIndex('123013001')">叁拾加水果专家</a></td>
                                        <td class="text-right main_color">35</td>
                                    </tr>
                                   <tr>
                                        <td class="center">3</td>
                                        <td><p class="store_logo"><img src="http://www.storeme.cn/file/f/200/shop/logo/14194709496664380736.jpg"></p></td>   
                                        <td class="text-left"><a href="javascript:$ldh_base.jumpToShopIndex('121511006')">小鲜驿站</a></td>
                                        <td class="text-right main_color">30</td>
                                    </tr>
                               
                                      <tr>
                                        <td class="center">4</td>
                                        <td><p class="store_logo"><img src="http://www.storeme.cn/file/f/200/shop/logo/14199059856494376783.jpg"></p></td>   
                                        <td class="text-left"><a href="javascript:$ldh_base.jumpToShopIndex('201412301023070134')">大塘烧鹅南浦店</a></td>
                                        <td class="text-right main_color">7</td>
                                    </tr>
                                  <tr>
                                        <td class="center">5</td>
                                        <td><p class="store_logo"><img src="http://www.storeme.cn/file/f/200/shop/logo/14203444032672361865.png"></p></td>   
                                        <td class="text-left"><a href="javascript:$ldh_base.jumpToShopIndex('201501041207500141')">正宗东北手工饺子馆</a></td>
                                        <td class="text-right">4</td>
                                    </tr>
                                    
                                      <tr>
                                        <td class="center">6</td>
                                        <td><p class="store_logo"><img src="http://www.storeme.cn/file/f/200/shop/logo/14187152297356607322.jpg"></p></td>   
                                        <td class="text-left"><a href="javascript:$ldh_base.jumpToShopIndex('121511001')">光头佬连锁机构</a></td>
                                        <td class="text-right">4</td>
                                    </tr>
                                    
                                    
                                 </tbody>    
                                </table>
                            </div>
                        </div>
                        <div class="content padding_lr">
                          <p>“商家大擂台”活动说明：</p>
        <p>1．活动不设最低条件，只需商家参与即有机会，每日实时公布排行榜，公平公正公开；</p>
		<p>2．有效用户排行榜：对每个商家的订单状态是“交易成功”，并且下单用户不重复的有效客户数进行统计排名；</p>
		<p>3．成功订单排行榜：对每个商家的订单状态是“交易成功”的订单总数进行统计排名；</p>
		<p>4．两项数据统计日期为1月12日0时至1月22日24时；</p>
		<p>5．有效用户排行榜前三名，分别奖励：现金800元、500元、200元，成功订单排行榜前三名，分别奖励：现金300元、200元、100元，两项奖励为独立发放，可同时获得；</p>
		<p>6．两项排行榜将于每天公布，最终得奖结果将于1月23日公布，我们将有工作人员亲临贵店颁发现金奖励；</p>
		<p>7．请关注云便利商店微信公众号号及网站、APP的发现栏目，了解活动详情及最新榜单；</p>
		<p>8．特别注意：商家不得使用虚假交易等手段刷榜单，我司有权取消商家的活动资格。</p>
		<p>活动解释权归广州欧凌建材有限公司。</p>

                        </div>
                    </div>
                		</c:otherwise>
                	
                	</c:choose>
                
                </div>
            </div>
        </div>       
    </div> 
   <div class="ldh-qrcode-l"><a href="http://www.storeme.cn/about/index.html#nav_00" target="_blank"><img src="${ctx}/v1/img/qrcode_l.png"/></a></div>      
</div>
<script type="text/javascript">

seajs.use([ctx+'/v1/js/custom/index/module-index.js'],function(m){
	m.init(m);	
});

</script>
<%@ include file="/v1/pages/public/foot.jsp"%>
